
package edu.tongji.jiaowu.service.impl;
 
import java.util.List;
import com.tongji.quickCRUDQ.service.impl.BaseManagerImpl;
import edu.tongji.jiaowu.dao.TaskCourseDao;
import edu.tongji.jiaowu.service.TaskCourseManager;
import com.tongji.quickCRUDQ.model.CommonBean;

public class TaskCourseManagerImpl extends BaseManagerImpl implements TaskCourseManager {
        private TaskCourseDao taskCourseDao;

	
	public CommonBean createTaskCourse(){
                return taskCourseDao.createTaskCourse();		
	}
	
/*
	public CommonBean findTaskCourses(String refid) {
                return taskCourseDao.findTaskCourses(refid);
       }
*/
	public CommonBean findTaskCourseById(String id){
                return taskCourseDao.findTaskCourseById(id);
       }	
	public CommonBean findAllTaskCourses() {
                return taskCourseDao.findAllTaskCourses();
       }
	public void insertTaskCourse(CommonBean taskCourseBean){
               taskCourseDao.insertTaskCourse(taskCourseBean);
	}
	
	public TaskCourseDao getTaskCourseDao(){
		return taskCourseDao;
        }	
        
        public void setTaskCourseDao(TaskCourseDao taskCourseDao){
                this.taskCourseDao=taskCourseDao;	
        }        		
}

